package com.itheima.behavior.service;

import com.itheima.model.common.dtos.ResponseResult;

import java.util.List;
import java.util.Map;

public interface CollectService {
    ResponseResult collectBook(Integer id);

    ResponseResult cancelCollectBook(Integer id);

    ResponseResult collectNote(String id);

    ResponseResult cancelCollectNote(String id);

    ResponseResult collectReview(String id);

    ResponseResult cancelCollectReview(String id);

    /**
     * 获取用户的收藏列表
     * @return 收藏列表(包含type和id)
     */
    ResponseResult getUserCollections();
}
